﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="DispatchVehicle.aspx.cs" Inherits="WebUI.CargoCars.DispatchVehicle" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="gvwDispatchVehicle" runat="server" AutoGenerateColumns="False" OnRowDeleting="gvwDispatchVehicle_RowDeleting" BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" Width="500px">
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="VehicleSN" DataNavigateUrlFormatString="~/Vehicle/Vehicle_Modify.aspx?VehicleSN={0}"
                DataTextField="VehicleNumber" HeaderText="所属车辆车牌" NavigateUrl="~/Vehicle/Vehicle_Modify.aspx" />
            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <RowStyle BackColor="White" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    添加车辆：
        <asp:DropDownList ID="ddrVehicleList" runat="server" ForeColor="#404040">
        </asp:DropDownList>
    <asp:Button ID="btnVehicleAdd" runat="server" OnClick="btnVehicleAdd_Click" Text="增加" ForeColor="#404040" />
</asp:Content>
